﻿using System;

using PortalIntranet.DatabaseComponents.Administracao;

namespace PortalIntranet.ObjectComponents.Administracao
{
	public class WebPageInfo
	{
		public WebPageInfo(WebPage webpage, bool atual)
		{
			this.Id = webpage.Id;
			this.Nome = webpage.Nome;
			this.Slug = webpage.Slug;
			this.Atual = atual;
		}

		public int Id { get; set; }

		public string Nome { get; set; }

		public string Slug { get; set; }

		public bool Atual { get; set; }
	}
}
